package com.qf.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.qf.mapper.DtsGoodsProductMapper;
import com.qf.pojo.DtsGoodsProduct;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class DtsProductServiceImpl implements DtsProductService{
    @Autowired
    private DtsGoodsProductMapper dtsGoodsProductMapper;

    /**
     * 查询库存表总数
     * @return
     */
    @Override
    public int count() {

        Integer count = dtsGoodsProductMapper.selectCount(null);
        return count;
    }
}
